adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / ADTObjectCollectionT<T> Class / GetItem Method


In This Topic
    GetItem Method (ADTObjectCollectionT<T>)
    In This Topic
    Gets the object with the specified OID or numeric index.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Overridable Function GetItem( _
       ByVal index As Object _
    ) As T
    [CanBeNull()]
    public virtual T GetItem( 
       object index
    )
    [CanBeNull()]
    public:
    virtual T^ GetItem( 
       Object^ index
    ) 

    Parameters

    index
    Exceptions
    ExceptionDescription
    Thrown if index is a numeric value that is outside the bounds of the collection.
    Thrown if index is not an integer, string, or OID.
    Remarks
    Returns null if no object with the requested OID is found.
    See Also